import request from '@/common/request/request.js'
import config from '@/common/config/config.js';
const http = config.env


export const getGoodsShareUrl2 = params => {
  return request({
    url: 'product/customer/productProgramUrl',
    method: 'get',
    data: params
  })
}

export const getGoodsSkuDetail = params => {
  return request({
    url: 'product/customer/sku/specification/detail',
    method: 'get',
    data: params
  })
}

export const getPreferenceGoodsList = params => {
  return request({
    url: 'product/customer/preference/list',
    method: 'get',
    data: params
  })
}

export const getSubareaList = params => {
  return request({
    url: 'system/basics/subarea/list/select',
    method: 'get',
    data: params
  })
}
